package org.eclipse.ea.requisit.manager.utils;
import java.util.Comparator;

import org.eclipse.ea.requisit.manager.services.report.CostsBean;


public class CostsBeanComparator implements Comparator<Object> {

	@Override
	public int compare(Object obj1, Object obj2) {
		
		CostsBean bean1 = (CostsBean) obj1;
		CostsBean bean2 = (CostsBean) obj2;

		return bean1.getRequirement().compareTo(bean2.getRequirement());
	}

}
